//
//  GPLangCache.h
//  YueYue
//
//  Created by LiuYu on 2024/10/24.
//

#import <Foundation/Foundation.h>

NS_ASSUME_NONNULL_BEGIN

@interface GPLangCache : NSObject
@property (nonatomic,  strong) NSMutableDictionary *langsCache;
+ (instancetype)shareInstance;
- (void)setLang:(NSString *)lang forUser:(NSString *)userID clientID:(NSString *)clientID;
- (void)fetchLangForKey:(NSString *)userID clientID:(NSString *)clientID completion:(void(^)(NSString *lang))completion;
- (void)clear;
@end

NS_ASSUME_NONNULL_END
